約 4,069,143 件
https://w.atwiki.jp/fieds_labo3/pages/40.html
Swing トップレベルコンテナ メニューバー付きサンプル import java.awt.*; import java.awt.event.*; import javax.swing.*; /* TopLevelDemo.java requires no other files. */ public class TopLevelDemo { private static void createAndShowGUI() { //Create and set up the window. JFrame frame = new JFrame("TopLevelDemo"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //Create the menu bar. Make it have a green background. JMenuBar greenMenuBar = new JMenuBar(); greenMenuBar.setOpaque(true); greenMenuBar.setBackground(new Color(154, 165, 127)); greenMenuBar.setPreferredSize(new Dimension(200, 20)); //Create a yellow label to put in the content pane. JLabel yellowLabel = new JLabel(); yellowLabel.setOpaque(true); yellowLabel.setBackground(new Color(248, 213, 131)); yellowLabel.setPreferredSize(new Dimension(200, 180)); //Set the menu bar and add the label to the content pane. frame.setJMenuBar(greenMenuBar); frame.getContentPane().add(yellowLabel, BorderLayout.CENTER); //Display the window. frame.pack(); frame.setVisible(true); } public static void main(String[] args) { //Schedule a job for the event-dispatching thread //creating and showing this application s GUI. javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { createAndShowGUI(); } }); } } JPanel版 import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TopLevelDemo2 { private static void createAndShowGUI() { //Create and set up the window. JFrame frame = new JFrame("TopLevelDemo2"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //Create the menu bar. Make it have a green background. JMenuBar greenMenuBar = new JMenuBar(); greenMenuBar.setOpaque(true); greenMenuBar.setBackground(new Color(154, 165, 127)); greenMenuBar.setPreferredSize(new Dimension(200, 20)); //Create a yellow label to put in the content pane. JLabel yellowLabel = new JLabel(); yellowLabel.setOpaque(true); yellowLabel.setBackground(new Color(248, 213, 131)); yellowLabel.setPreferredSize(new Dimension(200, 180)); //Set the menu bar and add the label to the content pane. frame.setJMenuBar(greenMenuBar); //frame.getContentPane().add(yellowLabel, BorderLayout.CENTER); //Create a panel and add components to it. JPanel contentPane = new JPanel(new BorderLayout()); //contentPane.setBorder(someBorder); contentPane.add(yellowLabel, BorderLayout.CENTER); //contentPane.add(anotherComponent, BorderLayout.PAGE_END); frame.setContentPane(contentPane); //Display the window. frame.pack(); frame.setVisible(true); } public static void main(String[] args) { //Schedule a job for the event-dispatching thread //creating and showing this application s GUI. javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { createAndShowGUI(); } }); } }
https://w.atwiki.jp/java_pro/pages/50.html
public class Dog extends Pet{ public Dog(){ } public Dog(String name){ super(name); } public void call(){ System.out.println("ワンワン"); } }
https://w.atwiki.jp/yuluserver/pages/15.html
YuluServerとは? YuluServerとは誰でも自由に参加可能なサーバーである YuluServerは色々なサービスを提供しており、日々アップデートしております。 サービス詳細はこちら サーバーは24時間稼働、年間350日以上運営を目指しています。 メンテナンス情報等は、YuluServer公式Twitterをご利用ください。 【サーバースペック】 OS MicroSoft Windows Server 2012 R2 CPU Intel Celeron J1900 M B ASUS J1900I-C RAM DDR3L 4GB HDD 160GB
https://w.atwiki.jp/api_programming/pages/184.html
下位ページ Content 値を取り出す Class Sheetsbuilderのコンストラクタパラメータ spreadsheets() Class SpreadSheetsValue Collection を操作するための accessor を取得する スプレッドシート Class Sheet.SpreadSheet.Value値を取得する 値を追加する Google Sheets API - Java Quickstart Google Sheets API - Google Sheets API これらのコレクションとの対応を考えればOK。 ただ多分よく使う Value Collection を使うために、Sheet - SpreadSheet を経由する。 Google Sheets API v4 値を取り出す ValueRange response = sheet.spreadsheets().values().get(spreadsheetId, range).execute(); Class Sheets スプレッドシートの読み書きを行うためのクラス。名前の似たSheetクラスがあるので、注意が必要。 Sheets builderのコンストラクタ public Sheets.Builder(transport, jsonFactory, httpRequestInitializer) パラメータ transport HTTP transport, which should normally be Google App Engine com.google.api.client.extensions.appengine.http.UrlFetchTransport そのまま new UrlFetchTransport() でOK. Android newCompatibleTransport from com.google.api.client.extensions.android.http.AndroidHttp Java com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport() jsonFactory - JSON factory, which may be Jackson com.google.api.client.json.jackson2.JacksonFactory そのまま new JacksonFactory() でOK. Google GSON com.google.api.client.json.gson.GsonFactory Android Honeycomb or higher com.google.api.client.extensions.android.json.AndroidJsonFactory httpRequestInitializer - HTTP request initializer or null for noneGoogle系? GoogleCredentialで良い? spreadsheets() spreadsheets() スプレッドシートにリクエストを送るためのaccessor Class SpreadSheets SpreadSheets Value Collection を操作するための accessor を取得する value() スプレッドシート [[get() https //developers.google.com/resources/api-libraries/documentation/sheets/v4/java/latest/com/google/api/services/sheets/v4/Sheets.Spreadsheets.html#get(java.lang.String)] Class Sheet.SpreadSheet.Value Sheet.SpreadSheet.Value 値を取得する get() 値を追加する append()
https://w.atwiki.jp/sudo/pages/14.html
1. What is Object Oriented Programming? 2. What is the difference(s) between abstract class and interface? 3. When will you use abstract and interface? 4. What is MVC design pattern? 5. What is the keyword static? 6. What is the compile order of a JSP which contains taglib, scriptlet and HTML? 7. What will be done in a Data Access Object? 8. What is Spring? 9. What is Deadlock? 10. Describe the difference(s) among Unicode, UTF-8 and BIG5. 11. Describe the 6 transaction attributes of Container-Managed bean. 12. Describe a Struts + EJB application in terms of MVC design pattern. 13. Describe the difference(s) between Hibernate and iBatis. 14. Describe the life cycle of a Servlet. 15. Is servlet thread-safe? 16. Compare DB2 and MySQL. 17. For an application using Struts, describe the flow and what will be done right after user submits a http request. http //blog.02011212.com/2007/08/interviews.html
https://w.atwiki.jp/tuntun_sunao/pages/77.html
ええ、ここではお知らせ等を致します。 まぁ、タイトル見りゃわかると思うけど Le→フランス語。 管理人→日本語。 Radio→英語。 なんかもうgdgdである。 第一回目ラジオ http //124.38.226.98 81/servlet/M302/bbs/127587/img/0041349125.mp3
https://w.atwiki.jp/memcache/pages/73.html
1st link 1st http //www.ne.jp/asahi/hishidama/home/tech/java/fx/sb/index.html http //www.slideshare.net/takashiaoe/macjavafx-at-7javafx-13518044#btnNext link
https://w.atwiki.jp/hide1227/pages/18.html
イベントハンドラとは イベントの種類 Ajaxにおけるイベントの指定方法 Prototypeにおけるイベント処理の使い方 あ あ あ Prototypeにおけるイベント処理の使い方 参考文献:prototype.js パーフェクトリファレンス 参考:リンク1 Event.observeを用いることでブラウザ非依存にイベントハンドラを登録することができます。 Event.observe(element, name, observer, useCapture); element エレメントかID name イベントの名前。load、click、blur、focusなどなど observer 関数の名前。イベントが発火したら呼び出される useCapture trueにするとイベントハンドラを処理し終わったらブラウザに処理が戻らない
https://w.atwiki.jp/kodan/pages/99.html
Java 型を SOAP/XML 型にマッピングする方法 WSDL から Java への標準的なマッピング xsd base64Binary byte[] xsd boolean boolean xsd byte byte xsd dateTime java.util.Calendar xsd decimal java.math.BigDecimal xsd double double xsd float float xsd hexBinary byte[] xsd int int xsd integer java.math.BigInteger xsd long long xsd QName javax.xml.namespace.QName xsd short short xsd string java.lang.String
https://w.atwiki.jp/hama170628/pages/63.html
参照ページ(古いバージョンですが) http //jp.sun.com/products/software/management/internet/sims/docs/Ref/config.html ダイレクト送信(スタティック配送) 特定のドメインについてスタティック配送を行うためには以下のように2カ所の設定を変更します。 設定ファイル:/opt/SUNWmsgsr/config/imta.cnf ・・・・ ! tcp_local ! Rules for top level internet domains IMTA_TABLE internet.rules msend.jp $U%$D@tcp_msend-daemon mrecv.jp $U%$D@tcp_mrecv-daemon !(書式のフォーマットは !「対象ドメイン [user書換ルール]%[domain書換ルール]@[routingSystem]」です。) ! ! ・・・・・・ ! part II channel blocks ! ・・・・・・ ! ! tcp_local tcp_local smtp mx single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth missingrecipientpolicy 0 loopcheck tcp-daemon !追加ここから !SJSMS以外への配送のためtcp_localをコピーしてチャネルを定義しました。 !スタティック配送にするため「nomx daemon 配送先サーバ」とします。 ! ! tcp_msend tcp_msend smtp nomx daemon box.msend.jp single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth missingrecipientpolicy 0 loopcheck tcp_msend-daemon ! ! tcp_mrecv tcp_mrecv smtp nomx daemon box.mrecv.jp single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth missingrecipientpolicy 0 loopcheck tcp_mrecv-daemon ! !追加ここまで ・・・・・ 設定を変更したら、以下のコマンドで反映します。 # /opt/SUNWmsgsr/sbin/imsimta cnbuild # /opt/SUNWmsgsr/sbin/imsimta restart configutil関連 現在設定されている設定を表示する。 #/opt/SUNWmsgsr/sbin/configutil -m configutilのパラメータを設定する。 #/opt/SUNWmsgsr/sbin/configutil -o local.sc***** -v "******" ログを有効にする imta.cnfの「part II channel blocks」のdefaultチャネルにloggingを追加します。 defaults notices 1 2 4 7 logging ・・・・